#include "namePipe.hpp"

int main()
{
    namePipe fifo(comm_path, User);
    std::cout << "Create user fifo" << std::endl;
    if (fifo.OpenForWrite())
    {
        while (true)
        {
            std::cout << "Please enter>";
            std::string message;
            std::getline(std::cin, message);
            fifo.WriteNamePipe(message);
        }
    }
    return 0;
}